﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace ServiceOperater.Converters
{
    class BooleanToVisibilityConverter : BooleanConverter<Visibility>
    {
	
        #region ctor
        static BooleanToVisibilityConverter()
        {
        }
        private BooleanToVisibilityConverter()
            : base(Visibility.Visible, Visibility.Collapsed)
        {
        }
        #endregion

        private static BooleanToVisibilityConverter converter;
        public static BooleanToVisibilityConverter INSTANCE
        {
            get { return converter ?? (converter = new BooleanToVisibilityConverter()); }
        }
	
        ////System.Windows.Controls.BooleanToVisibilityConverter 
        //public BooleanToVisibilityConverter()
       //     : base(Visibility.Visible, Visibility.Collapsed)
       // {
       //         //TrueValue = Visibility.Collapsed;
        //        //FalseValue = Visibility.Visible;
       // }
    }
}
